<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<style>
		div,img{
			width: 300px;
			height: 500px;
			perspective: 500px;
			transition: transform 2s linear;
			margin: 0 auto;
		}
		div:hover{
			transform: rotateX(45deg);
		}
	</style>
</head>
<body>
	<div><img src="../images/pk.png" alt=""></div>
</body>
</html>